
using System;
using System.Drawing;

using MonoTouch.Foundation;
using MonoTouch.UIKit;

namespace bjeschool
{
	public partial class CourseStudentApplyListCell : CommonCell<M_StudentCourseApply>
	{
		public CourseStudentApplyListCell () //: base ("CourseStudentApplyListCell", null)
		{
			NSBundle.MainBundle.LoadNib("CourseStudentApplyListCell", this, null);
		}
		
		public override void SetData (M_StudentCourseApply item)
		{
			
			CourseName.Text = item.CourseName;
			StudentName.Text = item.StudentName;
			Permit.Text = item.CreateTime.ToShortDateString();
			
		}
		
		[Outlet("CellView")]
		public override UITableViewCell CellView { get; set; }
		[Outlet("CourseName")]
		public UILabel CourseName { get; set; }
		[Outlet("StudentName")]
		public UILabel StudentName {get;set;}
		[Outlet("Permit")]
		public UILabel Permit {get;set;}
	}
}

